
import '../index.dart';

class BookMarksRoute extends StatefulWidget {
  @override
  _BookMarksRouteState createState() => _BookMarksRouteState();
}

class _BookMarksRouteState extends State<BookMarksRoute> {
  @override
  void initState() {

    super.initState();
  }

  var titles = ['http://www.baidu.com','http://github.com','http://www.google.com','http://www.tmall.com'];

  Widget build(BuildContext context) {

    return  ListView.builder(
      padding: const EdgeInsets.all(0.0),
      itemExtent: 50,
      itemCount: titles.length,
      itemBuilder: (BuildContext context, int index) {
        return ListTile(
          leading: Icon(Icons.book),
          title:  Text(titles[index]),
          onTap: () => {

          },
        );
      },

    );
  }
}
